let { HttpRequest, globalData, addUserStat } = getApp();
Component({
  mixins: [],
  data: {
  },
  props: {
    gduserInfo: {}
  },
  didMount() {
    this.setData({

    })
  },
  didUpdate() {
  },
  didUpdate() {
  },
  didUnmount() { },
  methods: {
    async initPage() {
    },
    navChange() {
      this.props.onNavChange()
    },
    navigateChange() {
      this.setData({
        task: true
      })
      my.navigateTo({
        url: '/pages/task-page/task-page'
      });
    },
    remmberTo() {
      my.reLaunch({
        url: '/pages/equity-page/equity-page'
      })

      // 自定义埋点
      let customAccessoptions = {
        customType: '过期积分'
      }
      console.log('过期积分');

      let tracks = addUserStat(customAccessoptions)
    }
  },
});
